]> dgit.raspbian.org Git - gnome-shell.git/commit
gdm/authPrompt: Unset the entry reference on destruction
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 25 Aug 2025 12:25:49 +0000 (14:25 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sat, 30 Aug 2025 01:36:14 +0000 (01:36 +0000)
commit7c2dda6765432acb2f6eaccab74789d01f30af05
treeed460e5bc9fde3f5f0a8c88e51edda58dfa84389
parent83364f7db323babf6a12bc0a398c5af93aa3df22
gdm/authPrompt: Unset the entry reference on destruction

We use the internal entry as the reference to the text entry that is
currently in use, but during destruction we do not unset it, thus the
garbage collector may requires further cycles to actually release it.

Simplify its job here, improves 572d011894c9b490b8a17ad7db6adec335fbb017

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3850>
js/gdm/authPrompt.js